package com.bmps.springcloud.insuredmicroservice.model.accept;

import com.bmps.springcloud.common.response.TaskResponseModel;
import lombok.Data;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author lyw
 * @date 2019/8/2 16:40
 */
@Data
public class ResponseListModel implements Serializable {
    /**
     * 投核保任务结果
     */
    private List<TaskResponseModel> insured = new ArrayList<>();
    /**
     * 累计风险保额任务结果
     */
    private List<TaskResponseModel> accumulated = new ArrayList<>();
    /**
     * 保费试算任务结果
     */
    private List<TaskResponseModel> calculation = new ArrayList<>();
    /**
     * 保盾云任务结果
     */
    private TaskResponseModel cloudPlat;
    /**
     * 保费试算任务结果
     */
    private List<TaskResponseModel> cloudPlatList = new ArrayList<>();

    /**
     * 核保在途保单校验任务结果
     */
    private TaskResponseModel historyVerification;

    /**
     * 第三方核保任务结果
     */
    private TaskResponseModel transit;
    /**
     * 中保信结果
     *
     * @param taskResponseModel
     */
    private List<TaskResponseModel> cbitCheck = new ArrayList<>();

    /**
     * 计算保额结果
     *
     * @param taskResponseModel
     */
    private List<TaskResponseModel> amntList = new ArrayList<>();
    /**
     * 计算加费结果
     *
     * @param taskResponseModel
     */
    private List<TaskResponseModel> plusPremList = new ArrayList<>();


    public void addCbitCheck(TaskResponseModel taskResponseModel) {
        this.cbitCheck.add(taskResponseModel);
    }

    public void addInsured(TaskResponseModel taskResponseModel) {
        this.insured.add(taskResponseModel);
    }

    public void addAccumulated(TaskResponseModel taskResponseModel) {
        this.accumulated.add(taskResponseModel);
    }

    public void addCloudPlat(TaskResponseModel cloudPlat) {
        this.cloudPlat = cloudPlat;
    }

    public void addCalculation(TaskResponseModel taskResponseModel) {
        this.calculation.add(taskResponseModel);
    }

    public void addCloudPlatList(TaskResponseModel taskResponseModel) {
        this.cloudPlatList.add(taskResponseModel);
    }

    public void addAmntList(TaskResponseModel taskResponseModel) {
        this.amntList.add(taskResponseModel);
    }

    public void addPlusPremList(TaskResponseModel taskResponseModel) {
        this.plusPremList.add(taskResponseModel);
    }
}
